package com.hotel.tv.application.admin.services;

import com.autumn.application.service.DataImportApplicationService;
import com.autumn.application.service.EditApplicationService;
import com.hotel.tv.application.admin.dto.order.OrderDetailsOutput;
import com.hotel.tv.application.admin.dto.order.OrderInput;
import com.hotel.tv.application.admin.dto.order.OrderListOutput;

import java.util.List;

/**
 * <p>
 * </p>
 *
 * @description TODO
 * @author: 老码农
 * @create: 2020-04-03 11:49
 **/
public interface OrderService
        extends EditApplicationService<Long, OrderInput, OrderInput, OrderListOutput, OrderDetailsOutput>
        , DataImportApplicationService<OrderInput> {

    /**
     * @param input
     * @return
     */
    OrderDetailsOutput save(OrderInput input);

    /**
     * @return
     */
    List<OrderListOutput> orders();

}
